package com.finger.gulimall.order.feign;

import com.finger.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("gulimall-product")
public interface ProductRemoteService {
    @GetMapping("/product/spuinfo/getSpusBySkuIds")
    public R getSpusBySkuIds(@RequestParam("skuIds") List<Long> skuIds);
}
